<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>博客登录页</title>
    <link rel="stylesheet" href="css/common.css">
    <link rel="stylesheet" href="css/login.css">
</head>

<body>
<!-- 导航栏 -->
<div class="nav">
    <img src="image/logo2.jpg" alt="">
    <div class="title">我的博客系统</div>
    <div class="spacer"></div>
    <a href="blog_list.jsp">主页</a>
    <a href="blog_edit.jsp">写博客</a>
</div>

<!-- 登录页的版心 -->
<div class="login-container">
    <div class="login-dialog">
        <h3>登录</h3>
        <!-- 登录表单 -->
        <form action="login" method="post">
            <div class="row">
                <span>用户名</span>
                <input type="text" id="username" name="username" required>
            </div>
            <div class="row">
                <span>密码</span>
                <input type="password" id="password" name="password" required>
            </div>
            <div class="row">
                <input type="submit" id="submit" value="登录">
            </div>
        </form>
        <!-- 注册按钮 -->
        <div class="row">
            <a href="admin/register.jsp">
                <input type="button" id="register-btn" class="register-btn" value="注册">
            </a>
        </div>
    </div>
</div>
</body>

</html>